import 'package:flutter/material.dart';

import '../../config/public_color.dart';
import 'padding_vertical_divider.dart';

/// FileName public_vertical_divider
///
/// @Author lax
/// @Date 2023/7/4
///
/// @Description

class PublicVerticalDivider extends StatelessWidget {
  final EdgeInsets? padding;

  final double width;

  final double? height;

  final Color? color;

  const PublicVerticalDivider({
    super.key,
    this.padding,
    this.width = 0.5,
    this.height,
    this.color,
  });

  @override
  Widget build(BuildContext context) {
    return PaddingVerticalDivider(
      padding: padding,
      width: width,
      height: height,
      color: color ?? PublicColor.divider,
    );
  }
}
